package com.young.ysepay.controllers;

import com.young.ysepay.service.YsSplitRequestService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @Author: WANGNING
 * @Email wyn20140226@aliyun.com
 * @Date: 2019/6/4 18:51
 * @Des 银盛分账查询
 */
@RestController
@RequestMapping("/ysSplitRequest")
public class YsSplitRequestController {
    private static Logger log = LoggerFactory.getLogger(YsController.class);
    @Autowired
    private YsSplitRequestService ysSplitRequestService;
    /**
     * @Author zhaopengjun
     * @Description //银盛分账查询接口
     * @Date 10:19 2019/5/14
     * @Param
     * @return
     **/
    @PostMapping("/splitRequest")
    public String splitRequestReceipt(@RequestParam Map<String,Object> paraMap){
        return ysSplitRequestService.splitRequest(paraMap);
    }

}
